<!-- 此tpl如使用script标签渲染，请遵循layui.laytpl语法，此页面，支持PHP语法-->
<script type="text/html" id="orderDemo">
    {foreach name="right_buttons" key="key" item="vo"}
        {if $vo.title == '发货'}
            {{#  if(d.statusRaw > 1){ }}
                {{#  if(d.statusRaw == 2){ }}
                <a class="{:getBtnClassTpl($vo.class,$vo.title)}" lay-event="{$vo.json}">发货</a>
                {{#  } else { }}
                <a class="{:getBtnClassTpl($vo.class,$vo.title)}" lay-event="{$vo.json}">发货详情</a>
                {{#  } }}
            {{#  } }}
        {elseif $vo.title == '删除'}
            {{#  if(d.statusRaw  == 1){ }}
            <a class="{:getBtnClassTpl($vo.class,$vo.title)}" lay-event="{$vo.json}">删除</a>
            {{#  } }}
        {else}
            <a class="{:getBtnClassTpl($vo.class,$vo.title)}" lay-event="{$vo.json}">{$vo.title}</a>
        {/if}

    {/foreach}
</script>

<script id="addressTpl" type="text/html">
    {{d.p.title}}{{d.c.title}}{{d.d.title}}{{d.address_details}}
</script>